<Open Tag=[<{]>
<Close Tag=[}>]>
@model <{Application}>.Models.<{OwnerU}>_<{TableU}>

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<div>
    <h4><{Table}></h4>
    <hr />
    <dl class="dl-horizontal">
    <{If Loop}>
	        <{IsIdentity}>
        @Html.HiddenFor(model => model.<{FieldU}>)

	        <{IsNotIdentity}>
        <dt>
            @Html.DisplayNameFor(model => model.<{FieldU}>)
        </dt>

        <dd>
	        <{IsNotIdentity}>
	        <{And}>
	        <{IsNotRelated}>
            @Html.DisplayFor(model => model.<{FieldU}>)
	        <{IsNotIdentity}>
	        <{And}>
	        <{IsRelated}>
            @Html.DisplayFor(model => model.<{ROwner}>_<{RTable}>.<{RDisplayField}>)
        </dd>

    <{/If Loop}>
    </dl>

    @using (Html.BeginForm()) {
        @Html.AntiForgeryToken()

        <div class="form-actions no-color">
            <input type="submit" value="Delete" class="btn btn-default" /> |
            @Html.ActionLink("Back to List", "Index")
        </div>
    }
</div>
<Open Tag=[<]>
<Close Tag=[>]>
